package com.zwj.service;

import com.zwj.bo.AddHomeworkBo;
import com.zwj.bo.SelectHomeworkInfoBo;
import com.zwj.bo.SelectUnApprovedBo;
import com.zwj.bo.WorkApproval;
import com.zwj.entity.UserEntity;
import com.zwj.entity.WorkInfoEntity;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zwj.vo.Result;
import com.zwj.vo.SelectUnApprovedVo;

import java.util.List;

/**
 * <p>
 * 作业信息表 服务类
 * </p>
 *
 * @author zwj
 * @since 2021-07-21
 */
public interface WorkInfoService {
    Result addHomework(AddHomeworkBo addHomeworkBo, UserEntity userEntity);
    Result selectHomeworkInfo(SelectHomeworkInfoBo selectHomeworkInfoBo);
    Result selectHomeWorkById(Long workId);
    Result selectUnApprovedHomework(SelectUnApprovedBo selectUnApprovedBo);
    Result selectApprovedHomework(SelectUnApprovedBo selectUnApprovedBo);
    Result deleteHomework(Long workId);

    Result selectHomeworkStudent(Long submitId, UserEntity userEntity);

    Result submitWorkApproval(WorkApproval workApproval, UserEntity userEntity);

    Result saveWorkApproval(WorkApproval workApproval, UserEntity userEntity);
}
